package com.huikaka.service;

import com.huikaka.entity.Award;
import com.huikaka.mapper.AwardMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AwardService {

    @Autowired
    private AwardMapper awardMapper;

    public List<Award> findAllAwardInfoByInviteCode(String inviteCode){
        return awardMapper.findAllAwardInfoByInviteCode(inviteCode);
    }
}
